XKCD's chess engine idea

If both Black and white played this way, who would end up winning?

If both Black and white played this way, who would end up winning?